package com.paddyi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.paddyi.mapper.RoleMapper;
import com.paddyi.model.Role;
import com.paddyi.model.vo.RoleVo;
import com.paddyi.service.IRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 角色 (Role)
 *
 * @author paddy
 * @since 2019-04-26 04:34:10
 */
@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements IRoleService {

    @Autowired
    private RoleMapper roleMapper;

    @Override
    public RoleVo selectRoleVoByRoleId(long roleId) {
        return roleMapper.selectRoleVoByRoleId(roleId);
    }
}
